﻿using System;

namespace Rubikev.Rockface.Core.Entities
{
   /// <summary>
   /// Represents a resource not stored in the database, e.g. a picture, a video, etc.
   /// </summary>
   public abstract class Resource : EntityBase
   {
      /// <summary>
      /// The max length of any URI
      /// </summary>
      public const int MaxUriLength = 255;

      /// <summary>
      /// The location the resource can be obtained from
      /// </summary>
      public virtual Uri Location { get; set; }
   }
}
